# coding: utf-8
import os
import time
from scrapy import cmdline
import sys
sys.getdefaultencoding()
if __name__ == '__main__':
    while True:
        os.system('scrapy crawl hngp"')
        print("休眠中... ...")
        time.sleep(2)
        os.system('scrapy crawl hnggzy')
        time.sleep(2)
        os.system('Scrapy crawl zzggzy')
        print("休眠中... ...")
        time.sleep(1800)


# cmdline.execute('scrapy crawl hngp_spider'.split())